//go:build wireinject
// +build wireinject

package common

import (
	"organoid_public/domain/common/event"
	"organoid_public/domain/common/service"
	"organoid_public/infrastructure/db"
	"organoid_public/infrastructure/db/common"
	eventbus "organoid_public/infrastructure/event"
	"organoid_public/pkg/logger"

	"github.com/google/wire"
)

func wireApp(db db.DefaultDb, bus eventbus.EventBus, log logger.Logger) (*useCase, func(), error) {
	panic(wire.Build(common.RepositoryProvider, service.CommonServiceProvider, event.Provider, initCommonUseCase))
}
